package com.chat.domain.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * 群聊实体类
 *
 * @author wb
 * @since 2024-09-14
 */
@TableName("group_chat")
@Data
public class GroupChat {

    private Integer id;

    private String name;

    private String avatar;

    private String description;

    private String createBy;

    private String createTime;

    private String updateBy;

    private String updateTime;

    @TableLogic
    private Integer isDeleted;

    @TableField(exist = false)
    private List<User> members;
}
